@namespace RazorConsole.Components

@using System.Globalization
@using Microsoft.AspNetCore.Components
@using RazorConsole.Core.Rendering.ComponentMarkup
@using Spectre.Console

<div class="columns"
    data-expand="@ExpandAttribute">
    @ChildContent
</div>

@code {
    private string ExpandAttribute => Expand ? "true" : "false";

    [Parameter]
    public bool Expand { get; set; } = false;

    [Parameter]
    public RenderFragment? ChildContent { get; set; }
}
